package com.vincce.sport.core.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.vincce.sport.controller.TimerTaskController;


@Component
public class TeamDataTimingTask extends TimerTaskController{

	
	//@Scheduled(cron = "0 0/1 * * * ?")		//每分钟执行一次
	@Scheduled(cron = "0 30 0 * * ?")		//每天0点触发
	public void teamDataTaskTimer() {
		teamDataTask();
	}

}
